package com.gameserver.models.dto;

import java.io.Serializable;
import java.util.LinkedList;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name="DataCollection")
public class DataCollectionDto<T> implements Serializable {

	private List<? extends Object> items = new LinkedList<T>();
	private  int page = 1;
	private int currentPage = 1;
	
	public List<? extends Object> getItems() {
		return items;
	}
	public void setItems(List<? extends Object> items) {
		this.items = items;
	}
	public int getPage() {
		return page;
	}
	public void setPage(int page) {
		this.page = page;
	}
	public int getCurrentPage() {
		return currentPage;
	}
	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}
}
